package com.example.software.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 医生表
 * 
 * @author wxy
 * @email wxy9496099@163.com
 * @date 2024-10-28 10:54:37
 */
@Data
@TableName("doctor")
public class DoctorEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID主键
	 */
	@TableId
	private Long id;
	/**
	 * 
	 */

	@ApiModelProperty("用户名")
	private String username;

	@ApiModelProperty("编号")
	private String account;
	/**
	 * 
	 */
	private String password;
	/**
	 * 
	 */
	@ApiModelProperty("姓名")
	private String name;
	/**
	 * 医生出诊费
	 */
	@ApiModelProperty("医生出诊费")
	private Integer fee;
	/**
	 * 
	 */
	@ApiModelProperty("性别")
	private String gender;
	/**
	 * 
	 */
	@ApiModelProperty("年龄")
	private Integer age;
//	/**
//	 *
//	 */
//	private String office;

//	/**
//	 *
//	 */
//	private String room;
	/**
	 * 
	 */
	@ApiModelProperty("职业")
	private String career;
	/**
	 * 
	 */
	@ApiModelProperty("医生简介")
	private String description;
	/**
	 * 
	 */
	@ApiModelProperty("医生图片")
	private String picPath;

	@ApiModelProperty("权限1：诊断医生2：管理药材(3：都有)")
	private String auth;

	@ApiModelProperty("医生账户状态1：正常，0：冻结")
	private int status;

	@ApiModelProperty("医生所在房间号")
	private String room;

	@ApiModelProperty(value = "科室id")
	private Long departmentId;

}
